package ffmvc.model;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;

public class AggPerformanceRowMapper implements RowMapper<AggPerformance>{

	@Override
	public AggPerformance mapRow(ResultSet rs, int line) throws SQLException {
		AggPerformanceExtractor extractor = new AggPerformanceExtractor();
		return extractor.extractData(rs);
	}

}
